<?php
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

$ispage = $this->id . '/' . $this->action->id;
//var_dump($ispage);
?>

<div id="menu">

    <ul class="menu">
<li <?php ($ispage == 'account/ruang_pelajar') ? print 'class="current"'  : ''; ?>><a href="<?php print Yii::app()->createUrl('/account/ruang_pelajar'); ?>"><span>Ruang Pelajar<span class="subtext">Ruang Pelajar</span></span></a></li>
<li <?php ($ispage == 'account/profile_update') ? print 'class="current"'  : ''; ?>><a href="<?php print Yii::app()->createUrl('/account/profile_update'); ?>"><span>Profile<span class="subtext">Update Profile</span></span></a></li>
<li <?php ($ispage == 'account/update_image') ? print 'class="current"'  : ''; ?>><a href="<?php print Yii::app()->createUrl('/account/update_image'); ?>"><span>Gambar<span class="subtext">Ganti Gambar</span></span></a></li>
<li <?php ($ispage == 'account/update_password') ? print 'class="current"'  : ''; ?>><a href="<?php print Yii::app()->createUrl('/account/update_password'); ?>"><span>Password<span class="subtext">Ganti Password</span></span></a></li>
<li class="last"><a href="<?php print Yii::app()->createUrl('/scc/logout'); ?>"><span>Logout</span></a></li>

    </ul>

</div>




